package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 现金存款记录表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_deposit")
@TableAlias("deposit")
@ApiModel(value = "BusDeposit对象", description = "现金存款记录表")
public class BusDeposit extends AbstractAllEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "depositId", type = IdType.ASSIGN_ID)
    private Long depositId;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "存款银行（1农业，2中国，3交通）")
    private String depositBank;

    @ApiModelProperty(value = "存款凭证图")
    private String voucherImg;

    private String remark;

    @ApiModelProperty(value = "财务审核状态（1审核中，2通过审核，3未通过审核）")
    private Integer isCheck;

    @ApiModelProperty(value = "所属销售")
    private Long employeeId;

    @ApiModelProperty(value = "所属机场")
    private Long airportId;

    private String reason;

}
